:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #34495e;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.post-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.post-header {
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #7f8c8d;
}

.author-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: 20px;
}

.post-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.interaction-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.interaction-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--light-bg);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-bg);
}

.comment-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.comment-input {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--light-bg);
    border-radius: 12px;
    resize: vertical;
    min-height: 120px;
    margin: 1rem 0;
    font-size: 1rem;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .post-content {
        grid-template-columns: 1fr;
    }

    .interaction-panel {
        flex-direction: row;
        position: static;
    }
}